WeDevs\Dokan\Commission\Formula\Flat S

Total Complexity 13
Dependencies 1
Dependents 6
Total lines 178
Lines of code 46
Logical lines of code 21
Comment lines 103
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
calculate()
S
56 5 19
__construct()
S
81 1 3
get_parameters()
S
71 1 6
get_source()
S
81 1 3
is_applicable()
S
80 1 3
get_admin_commission()
S
82 1 3
get_vendor_earning()
S
82 1 3
get_per_item_admin_commission()
S
80 1 3
get_items_total_quantity()
S
82 1 3